package edu.sctu.practice.class02.lvchang.test26;

/**
 * Created by Administrator on 2015/11/1.
 */
public class Manager extends Employee {

    private final String vehicle;

    public Manager(int age, String name, int salary, String id, String vehicle) {
        super(age, name, salary, id);
        this.vehicle = vehicle;
    }

    public void play() {
        System.out.println("*******Boss信息*******");
        System.out.println("编号：" + getID());
        System.out.println("姓名：" + getName());
        System.out.println("年龄：" + getAge());
        System.out.println("工资：" + getSalary());
        System.out.println("交通工具：" + vehicle);
    }
}
